package com.xsp.eduservice.client;

import com.xsp.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class VodFileDegradeFeignClient implements VoClient{
    @Override
    public R removeVideo(String videoId) {
        System.out.println("熔断器启动");
        return R.error().message("单个视频删除失败");
    }

    @Override
    public R removeVideoList(List<String> videoIdList) {
        return R.error().message("多个视频删除失败");
    }
}
